Skip to content

Conversation

@svenvh
Copy link
Member

@svenvh svenvh commented Oct 20, 2025

Map all cooperative matrix type conversions to SPIR-V friendly IR calls, regardless of the environment specified.

In particular, do not attempt to map such conversions to the OpenCL convert builtin. The SPIR-V TargetExtType is already encoded in the function suffix, so the previous translation was an odd hybrid between OpenCL and SPIR-V friendly IR.

Map all cooperative matrix type conversions to SPIR-V friendly IR
calls, regardless of the environment specified.

In particular, do not attempt to map such conversions to the OpenCL
`convert` builtin.  The SPIR-V TargetExtType is already encoded in the
function suffix, so the previous translation was an odd hybrid between
OpenCL and SPIR-V friendly IR.
@svenvh svenvh requested review from MrSidims and vmaksimo October 20, 2025 09:17
@svenvh svenvh merged commit 9d56f01 into KhronosGroup:main Oct 22, 2025
6 of 9 checks passed
@svenvh svenvh deleted the coopmat-convert branch October 22, 2025 08:34
@svenvh
Copy link
Member Author

svenvh commented Oct 22, 2025

/backport llvm_release_210

@github-actions
Copy link

Attempting to create backport to llvm_release_210...

@svenvh
Copy link
Member Author

svenvh commented Oct 22, 2025

/backport llvm_release_200

github-actions bot pushed a commit that referenced this pull request Oct 22, 2025
Map all cooperative matrix type conversions to SPIR-V friendly IR calls,
regardless of the environment specified.

In particular, do not attempt to map such conversions to the OpenCL
`convert` builtin. The SPIR-V TargetExtType is already encoded in the
function suffix, so the previous translation was an odd hybrid between
OpenCL and SPIR-V friendly IR.
@github-actions
Copy link

Success. Backport PR created: #3408

@svenvh
Copy link
Member Author

svenvh commented Oct 22, 2025

/backport llvm_release_190

@svenvh
Copy link
Member Author

svenvh commented Oct 22, 2025

/backport llvm_release_180

@github-actions
Copy link

Attempting to create backport to llvm_release_200...

github-actions bot pushed a commit that referenced this pull request Oct 22, 2025
Map all cooperative matrix type conversions to SPIR-V friendly IR calls,
regardless of the environment specified.

In particular, do not attempt to map such conversions to the OpenCL
`convert` builtin. The SPIR-V TargetExtType is already encoded in the
function suffix, so the previous translation was an odd hybrid between
OpenCL and SPIR-V friendly IR.
@github-actions
Copy link

Success. Backport PR created: #3409

@github-actions
Copy link

Attempting to create backport to llvm_release_190...

@github-actions
Copy link

Backport to llvm_release_190 failed due to conflicts on commit 9d56f01d558999875e946af31db7d3dde53952a8. Please backport manually.

@github-actions
Copy link

Attempting to create backport to llvm_release_180...

@github-actions
Copy link

Backport to llvm_release_180 failed due to conflicts on commit 9d56f01d558999875e946af31db7d3dde53952a8. Please backport manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants